﻿<Window x:Class="MediaLibrary.Controls.PlaylistSelectionWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    WindowStartupLocation="CenterScreen"
    WindowStyle="None"
    BorderBrush="Black"
    BorderThickness="1"
    ResizeMode="NoResize"
    MinHeight="300"
    MaxHeight="300"
    MinWidth="412"
    MaxWidth="412"
    ShowInTaskbar="False"
    Topmost="True">
    <Window.Background>
        <ImageBrush ImageSource="../resources/background2.jpg" />
    </Window.Background>

    <Grid Margin="6 0 6 0">
        <Grid.RowDefinitions>
            <RowDefinition Height="45" />
            <RowDefinition Height="*" />
            <RowDefinition Height="55" />
        </Grid.RowDefinitions>

        <Label Grid.Row="0" Grid.ColumnSpan="2" FontSize="20" FontWeight="Bold">Select Playlist</Label>

        <ListBox x:Name="playlistListBox" Grid.Row="1" ItemTemplate="{StaticResource playlistListBlackDataTemplate}" />

        <StackPanel Grid.Row="2" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Right">
            <Button x:Name="selectPlaylistButton" Click="selectPlaylistButton_Click" Margin="0 10 6 6" Width="100">Select Playlist</Button>
            <Button x:Name="cancelButton" Click="cancelButton_Click" Margin="0 10 6 6" Width="100">Cancel</Button>
        </StackPanel>
    </Grid>
</Window>
